package pub.wkq.interfaces;

/**
 * @author 王开琦
 */
public class Main {
    public static void main(String[] args) throws CloneNotSupportedException {
        var comparator = new StringLengthComparator();
        if (comparator.compare("hello", "world") > 0) {

        }

        var original = new Employee("wkq", 30000);

        Employee copy = original.clone();
        copy.raiseSalary(10);//original 不会改变
    }
}
